<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>demo2</title>
	<script type="text/javascript" src="./demo.js"></script>
	<script type="text/javascript">
		alert("qianrvyangshi ");
		document.write("这是我在文档写入一个文字，哈哈哈！");
		var res=prompt("你是帅哥还是美女？","美女把");
		alert(res);
		var res=confirm("为啥总是感觉自己很帅啊");
		if(res){
			alert("谁叫你妈妈把你生的这么帅啊，哈哈哈！")
		}else{
			alert("艹，我怎么知道你这么帅啊");
		}
		alert(res);
		var S="ddddd";
		var aame="javascript";
		document.write(aame);
	</script>
</head>
<body>
	<p onclick="alert('ppp')">dddd</p>

</body>
</html>